<%@page import="com.mmy.domain.hotel.THotelOrder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<title>转订单收款</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>转订单收款</h2>			
		</div>
	</header>
	<section class="container">
	

			<div>
				
				
				<form action="subpayorderhotel" method="post" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>转订单收款
						</h4>
				<div >
				<table class="info-table" >
				
				<tr>
					<th>收据号</th>
					<td>
						<input type="hidden" name="RoomID"  value="${iRoomID}" >
						<input type="hidden" name="ID"  value="${tHotelOrder.getID()}" >
						<input type="text" name="Voucher" required/><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr>
					<th>预约入住日期</th>
					<td>
						<input type="datetime-local" name="InTime" required/><span class="mustWrite">*</span>
					</td>
					<th>预约离店日期</th>
					<td>
						<input type="datetime-local" name="OutTime" required/><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr>
					<th>订单人姓名</th>
					<td>
						<input type="text" name="OrderName" required/><span class="mustWrite">*</span>
					</td>
					<th>订单联系方式</th>
					<td>
						
						<input type="text" name="OrderTel" required/><span class="mustWrite">*</span>
					</td>
					
				</tr>
				
				<tr>
					<th>总额</th>
					<td>
						<input type="number" name="OrderAmount" value="${tHotelOrder.getOrderAmount()}" readonly/><span class="mustWrite">*</span>
					</td>
					<th>应收款</th>
					<td>
						<input type="number" name="Receivable" required/><span class="mustWrite">*</span>
					</td>
					
				</tr>
				
				<tr>
					<th>实收款</th>
					<td>
						<input type="number" name="Receipt" required/><span class="mustWrite">*</span>
					</td>
					<th>付款类型</th>
					<td>
						<select class="input-select-vlign" name="PayType" >
								<option style="display: none;">请选择</option>
								<option value="0">现金</option>
								<option value="1">微信</option>
								<option value="2">支付宝</option>
								<option value="3">银联卡</option>
						</select>
					</td>
					
				</tr>
				
					
				</table>
				<center>
				<input type="submit" class="btn" value="交款" onclick="location.href='printhotel'"/>
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
				</center> 
				
							
							
				</div>
				</form>
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
		
		<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>